package com.simple.redissonrpc.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Data
@Component
public class GameConfig {

    @Value("${serverId}")
    private int serverId;

    // 机器唯一id
    private long machineId = System.currentTimeMillis();
}
